import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

@IonicPage({
  name: 'CustomerViewPage',
  segment: 'page-customer-view/:custId'
})
@Component({
  selector: 'page-customer-view',
  templateUrl: 'customer-view.html',
})
export class CustomerViewPage {

  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ionViewDidLoad() {
    
  }

  enterDataMaintain() {
  	this.navCtrl.push('DataMaintainPage', {
  		custId: this.navParams.data.custId
  	});
  }

}
